package org.yu.api.register;

import net.minecraft.world.entity.Entity;
import net.minecraft.world.entity.EntityType;
import net.minecraftforge.registries.RegistryObject;

import java.util.function.Supplier;

public class EntityTypeHolder<T extends Entity> implements Supplier<EntityType<T>> {
    public RegistryObject<EntityType<T>> type;

    @Override
    public EntityType<T> get() {
        return type.get();
    }
}
